package com.aaa.service.impl;


import com.aaa.entity.UMS_Admin;
import com.aaa.mapper.UMS_AdminMapper;
import com.aaa.service.UMS_Adminservice;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UMS_AdminServiceImpl extends ServiceImpl<UMS_AdminMapper, UMS_Admin> implements UMS_Adminservice {

    @Resource
    UMS_AdminMapper ums_adminMapper;

    @Override
    public Integer LoginTime(String username) {
        return ums_adminMapper.LoginTime(username);
    }

    @Override
    public Integer updAll(String username, String email, String nickName, String note, Integer id) {
        return ums_adminMapper.updAll(username, email, nickName, note, id);
    }

    @Override
    public Integer del(Integer ids) {
        return ums_adminMapper.del(ids);
    }

    @Override
    public List<UMS_Admin> selectAll(Integer id, String createTime) {
        return ums_adminMapper.selectAll(id, createTime);
    }
}
